package com.exercise.module.common.dao.entity;/**
 * Created by kete on 2017-05-05.
 */

import java.io.Serializable;
import java.util.Date;

/**
 * 作者：kete
 * 创建时间：2017-05-05 11:35
 * 功能描述：
 * 版本：
 */
public class BlogUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键ID */

    private Long id;

    /** 登录名称 */
    private String username;

    /** 密码 */
    private String password;

    /** 邮箱 */
    private String email;

    /** 0、普通用户 1、管理员 */
    private Integer type;

    /** 0、禁用 1、正常 */
    private Integer status;

    /** 创建时间 */
    private Date crTime;

    /** 最后登录时间 */
    private Date lastTime;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCrTime() {
        return this.crTime;
    }

    public void setCrTime(Date crTime) {
        this.crTime = crTime;
    }

    public Date getLastTime() {
        return this.lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "BlogUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", type=" + type +
                ", status=" + status +
                ", crTime=" + crTime +
                ", lastTime=" + lastTime +
                '}';
    }
}
